package com.blue.blog.api.service;

import com.blue.blog.api.pojo.User;
import org.springframework.stereotype.Service;

import java.util.List;

public interface UserService {
    Integer saveUser(User user);

    List<User> findAllUser();

    User findUserByUsername(String username);

    User findUserByEmail(String email);

    Integer deleteUserById(Long id);

    Integer updateUser(User user);
}
